package com.md.mymusic.db;

import com.md.basedpc.persistence.db.PrimaryKey;
import com.md.basedpc.persistence.db.TableName;
import com.md.basedpc.persistence.db.Transient;

import java.io.Serializable;
import java.util.UUID;
/**
 * @author liyue
 * created 2021/3/16
 * desc 存放用户收藏的音频
 */

@TableName(name = "com_living_db_SelfAudioDB")
public class SelfSaveAudioDB implements Serializable {

    @Transient
    private static final long serialVersionUID = 225097747450545407L;
    @PrimaryKey
    private String mainId = UUID.randomUUID().toString();

    String id;
    String name;
    String url;
    String path;
    String author;
    String cover;
    String desc;
    int encrypt;
    String album_id;
    String album_name;


    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getEncrypt() {
        return encrypt;
    }

    public void setEncrypt(int encrypt) {
        this.encrypt = encrypt;
    }

    public String getAlbum_id() {
        return album_id;
    }

    public void setAlbum_id(String album_id) {
        this.album_id = album_id;
    }

    public String getAlbum_name() {
        return album_name;
    }

    public void setAlbum_name(String album_name) {
        this.album_name = album_name;
    }
}
